<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="https://g.alicdn.com/msui/sm/0.6.2/css/sm.min.css">
    <link rel="stylesheet" href="https://g.alicdn.com/msui/sm/0.6.2/css/sm-extend.min.css">
    <link rel="stylesheet" href="./resource/app/index/index.css">
</head>
<body>
    
    <div class="page-group">
        <div class="page page-current">
            <header class="bar bar-nav">
                <a class="button button-link button-nav pull-left" href="/demos/card" data-transition='slide-out'>
                    <span class="icon icon-left"></span>
                    返回
                </a>
                <h1 class="title">我的生活</h1>
            </header>
            <nav class="bar bar-tab">
                <a class="tab-item active" href="#">
                    <span class="icon icon-home"></span>
                    <span class="tab-label">首页</span>
                </a>
                <a class="tab-item" href="#">
                    <span class="icon icon-me"></span>
                    <span class="tab-label">我</span>
                </a>
                <a class="tab-item" href="#">
                    <span class="icon icon-star"></span>
                    <span class="tab-label">收藏</span>
                </a>
                <a class="tab-item" href="#">
                    <span class="icon icon-settings"></span>
                    <span class="tab-label">设置</span>
                </a>
            </nav>
            <div class="content">
                <div class="swiper-container" data-space-between='10'>
                    <div class="swiper-wrapper">
                        <div class="swiper-slide"><img src="https://gqianniu.alicdn.com/bao/uploaded/i4//tfscom/i1/TB1n3rZHFXXXXX9XFXXXXXXXXXX_!!0-item_pic.jpg_320x320q60.jpg" alt="" style="width:100%;height:200px;object-fit:cover;"></div>
                        <div class="swiper-slide"><img src="https://gqianniu.alicdn.com/bao/uploaded/i4//tfscom/i4/TB10rkPGVXXXXXGapXXXXXXXXXX_!!0-item_pic.jpg_320x320q60.jpg" alt="" style="width:100%;height:200px;object-fit:cover;"></div>
                        <div class="swiper-slide"><img src="https://gqianniu.alicdn.com/bao/uploaded/i4//tfscom/i1/TB1kQI3HpXXXXbSXFXXXXXXXXXX_!!0-item_pic.jpg_320x320q60.jpg" alt="" style="width:100%;height:200px;object-fit:cover;"></div>
                    </div>
                    <div class="swiper-pagination"></div>
                </div>
            </div>
                
        </div>
    </div>



    <script type='text/javascript' src='https://g.alicdn.com/sj/lib/zepto/zepto.min.js' charset='utf-8'></script>
    <script type='text/javascript' src='https://g.alicdn.com/msui/sm/0.6.2/js/sm.js' charset='utf-8'></script>
    <script type='text/javascript' src='https://g.alicdn.com/msui/sm/0.6.2/js/sm-extend.min.js' charset='utf-8'></script>
    <script>
        (function () {
            $(document).on('pageInit', function () {
                $.toast('new');
            });
            $.init();
            setTimeout(function () {
                var html = $('.swiper-wrapper').html();
                $('.swiper-wrapper').append(html);
                $(".swiper-container").swiper();
            }, 4000);



            // 复制文本
            var copy_text = function copy_text (value) {
                var app_copy_textarea = document.createElement('textarea');
                app_copy_textarea.value = value;

                app_copy_textarea.style.position = 'absolute';
                app_copy_textarea.style.left     = '-9999px';
                app_copy_textarea.style.width    = '0px';
                app_copy_textarea.style.height   = '0px';
                app_copy_textarea.style.border   = '1px solid transparent';
                app_copy_textarea.style.margin   = '0px';
                app_copy_textarea.style.padding  = '0px';
                app_copy_textarea.style.fontSize = '12pt';
                document.body.appendChild(app_copy_textarea);
                app_copy_textarea.select();
                var result = document.execCommand('copy');
                document.body.removeChild(app_copy_textarea);
                return result;
            }

            copy_text('jfsaoisadoaiduwwwwwwwwww');

        })();
    </script>
</body>
</html>